3.5.36 \(\int \frac {d+e x}{(a+c x^2)^3} \, dx\)

Optimal. Leaf size=75 \[ \frac {3 d \tan ^{-1}\left (\frac {\sqrt {c} x}{\sqrt {a}}\right )}{8 a^{5/2} \sqrt {c}}+\frac {3 d x}{8 a^2 \left (a+c x^2\right )}+\frac {c d x-a e}{4 a c \left (a+c x^2\right )^2} \]

________________________________________________________________________________________

Rubi [A]  time = 0.02, antiderivative size = 75, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.200, Rules used = {639, 199, 205} \begin {gather*} \frac {3 d x}{8 a^2 \left (a+c x^2\right )}+\frac {3 d \tan ^{-1}\left (\frac {\sqrt {c} x}{\sqrt {a}}\right )}{8 a^{5/2} \sqrt {c}}-\frac {a e-c d x}{4 a c \left (a+c x^2\right )^2} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(d + e*x)/(a + c*x^2)^3,x]

[Out]

-(a*e - c*d*x)/(4*a*c*(a + c*x^2)^2) + (3*d*x)/(8*a^2*(a + c*x^2)) + (3*d*ArcTan[(Sqrt[c]*x)/Sqrt[a]])/(8*a^(5
/2)*Sqrt[c])

Rule 199

Int[((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> -Simp[(x*(a + b*x^n)^(p + 1))/(a*n*(p + 1)), x] + Dist[(n*(p +
 1) + 1)/(a*n*(p + 1)), Int[(a + b*x^n)^(p + 1), x], x] /; FreeQ[{a, b}, x] && IGtQ[n, 0] && LtQ[p, -1] && (In
tegerQ[2*p] || (n == 2 && IntegerQ[4*p]) || (n == 2 && IntegerQ[3*p]) || Denominator[p + 1/n] < Denominator[p]
)

Rule 205

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(Rt[a/b, 2]*ArcTan[x/Rt[a/b, 2]])/a, x] /; FreeQ[{a, b}, x]
&& PosQ[a/b]

Rule 639

Int[((d_) + (e_.)*(x_))*((a_) + (c_.)*(x_)^2)^(p_), x_Symbol] :> Simp[((a*e - c*d*x)*(a + c*x^2)^(p + 1))/(2*a
*c*(p + 1)), x] + Dist[(d*(2*p + 3))/(2*a*(p + 1)), Int[(a + c*x^2)^(p + 1), x], x] /; FreeQ[{a, c, d, e}, x]
&& LtQ[p, -1] && NeQ[p, -3/2]

Rubi steps

\begin {align*} \int \frac {d+e x}{\left (a+c x^2\right )^3} \, dx &=-\frac {a e-c d x}{4 a c \left (a+c x^2\right )^2}+\frac {(3 d) \int \frac {1}{\left (a+c x^2\right )^2} \, dx}{4 a}\\ &=-\frac {a e-c d x}{4 a c \left (a+c x^2\right )^2}+\frac {3 d x}{8 a^2 \left (a+c x^2\right )}+\frac {(3 d) \int \frac {1}{a+c x^2} \, dx}{8 a^2}\\ &=-\frac {a e-c d x}{4 a c \left (a+c x^2\right )^2}+\frac {3 d x}{8 a^2 \left (a+c x^2\right )}+\frac {3 d \tan ^{-1}\left (\frac {\sqrt {c} x}{\sqrt {a}}\right )}{8 a^{5/2} \sqrt {c}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.05, size = 71, normalized size = 0.95 \begin {gather*} \frac {\frac {\sqrt {a} \left (-2 a^2 e+5 a c d x+3 c^2 d x^3\right )}{\left (a+c x^2\right )^2}+3 \sqrt {c} d \tan ^{-1}\left (\frac {\sqrt {c} x}{\sqrt {a}}\right )}{8 a^{5/2} c} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(d + e*x)/(a + c*x^2)^3,x]

[Out]

((Sqrt[a]*(-2*a^2*e + 5*a*c*d*x + 3*c^2*d*x^3))/(a + c*x^2)^2 + 3*Sqrt[c]*d*ArcTan[(Sqrt[c]*x)/Sqrt[a]])/(8*a^
(5/2)*c)

________________________________________________________________________________________

IntegrateAlgebraic [F]  time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {d+e x}{\left (a+c x^2\right )^3} \, dx \end {gather*}

Verification is not applicable to the result.

[In]

IntegrateAlgebraic[(d + e*x)/(a + c*x^2)^3,x]

[Out]

IntegrateAlgebraic[(d + e*x)/(a + c*x^2)^3, x]

________________________________________________________________________________________

fricas [A]  time = 0.41, size = 212, normalized size = 2.83 \begin {gather*} \left [\frac {6 \, a c^{2} d x^{3} + 10 \, a^{2} c d x - 4 \, a^{3} e - 3 \, {\left (c^{2} d x^{4} + 2 \, a c d x^{2} + a^{2} d\right )} \sqrt {-a c} \log \left (\frac {c x^{2} - 2 \, \sqrt {-a c} x - a}{c x^{2} + a}\right )}{16 \, {\left (a^{3} c^{3} x^{4} + 2 \, a^{4} c^{2} x^{2} + a^{5} c\right )}}, \frac {3 \, a c^{2} d x^{3} + 5 \, a^{2} c d x - 2 \, a^{3} e + 3 \, {\left (c^{2} d x^{4} + 2 \, a c d x^{2} + a^{2} d\right )} \sqrt {a c} \arctan \left (\frac {\sqrt {a c} x}{a}\right )}{8 \, {\left (a^{3} c^{3} x^{4} + 2 \, a^{4} c^{2} x^{2} + a^{5} c\right )}}\right ] \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((e*x+d)/(c*x^2+a)^3,x, algorithm="fricas")

[Out]

[1/16*(6*a*c^2*d*x^3 + 10*a^2*c*d*x - 4*a^3*e - 3*(c^2*d*x^4 + 2*a*c*d*x^2 + a^2*d)*sqrt(-a*c)*log((c*x^2 - 2*
sqrt(-a*c)*x - a)/(c*x^2 + a)))/(a^3*c^3*x^4 + 2*a^4*c^2*x^2 + a^5*c), 1/8*(3*a*c^2*d*x^3 + 5*a^2*c*d*x - 2*a^
3*e + 3*(c^2*d*x^4 + 2*a*c*d*x^2 + a^2*d)*sqrt(a*c)*arctan(sqrt(a*c)*x/a))/(a^3*c^3*x^4 + 2*a^4*c^2*x^2 + a^5*
c)]

________________________________________________________________________________________

giac [A]  time = 0.16, size = 61, normalized size = 0.81 \begin {gather*} \frac {3 \, d \arctan \left (\frac {c x}{\sqrt {a c}}\right )}{8 \, \sqrt {a c} a^{2}} + \frac {3 \, c^{2} d x^{3} + 5 \, a c d x - 2 \, a^{2} e}{8 \, {\left (c x^{2} + a\right )}^{2} a^{2} c} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((e*x+d)/(c*x^2+a)^3,x, algorithm="giac")

[Out]

3/8*d*arctan(c*x/sqrt(a*c))/(sqrt(a*c)*a^2) + 1/8*(3*c^2*d*x^3 + 5*a*c*d*x - 2*a^2*e)/((c*x^2 + a)^2*a^2*c)

________________________________________________________________________________________

maple [A]  time = 0.05, size = 65, normalized size = 0.87 \begin {gather*} \frac {3 d x}{8 \left (c \,x^{2}+a \right ) a^{2}}+\frac {3 d \arctan \left (\frac {c x}{\sqrt {a c}}\right )}{8 \sqrt {a c}\, a^{2}}+\frac {2 c d x -2 a e}{8 \left (c \,x^{2}+a \right )^{2} a c} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((e*x+d)/(c*x^2+a)^3,x)

[Out]

1/8*(2*c*d*x-2*a*e)/a/c/(c*x^2+a)^2+3/8*d*x/a^2/(c*x^2+a)+3/8*d/a^2/(a*c)^(1/2)*arctan(1/(a*c)^(1/2)*c*x)

________________________________________________________________________________________

maxima [A]  time = 2.91, size = 74, normalized size = 0.99 \begin {gather*} \frac {3 \, c^{2} d x^{3} + 5 \, a c d x - 2 \, a^{2} e}{8 \, {\left (a^{2} c^{3} x^{4} + 2 \, a^{3} c^{2} x^{2} + a^{4} c\right )}} + \frac {3 \, d \arctan \left (\frac {c x}{\sqrt {a c}}\right )}{8 \, \sqrt {a c} a^{2}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((e*x+d)/(c*x^2+a)^3,x, algorithm="maxima")

[Out]

1/8*(3*c^2*d*x^3 + 5*a*c*d*x - 2*a^2*e)/(a^2*c^3*x^4 + 2*a^3*c^2*x^2 + a^4*c) + 3/8*d*arctan(c*x/sqrt(a*c))/(s
qrt(a*c)*a^2)

________________________________________________________________________________________

mupad [B]  time = 0.32, size = 64, normalized size = 0.85 \begin {gather*} \frac {\frac {5\,d\,x}{8\,a}-\frac {e}{4\,c}+\frac {3\,c\,d\,x^3}{8\,a^2}}{a^2+2\,a\,c\,x^2+c^2\,x^4}+\frac {3\,d\,\mathrm {atan}\left (\frac {\sqrt {c}\,x}{\sqrt {a}}\right )}{8\,a^{5/2}\,\sqrt {c}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((d + e*x)/(a + c*x^2)^3,x)

[Out]

((5*d*x)/(8*a) - e/(4*c) + (3*c*d*x^3)/(8*a^2))/(a^2 + c^2*x^4 + 2*a*c*x^2) + (3*d*atan((c^(1/2)*x)/a^(1/2)))/
(8*a^(5/2)*c^(1/2))

________________________________________________________________________________________

sympy [A]  time = 0.46, size = 124, normalized size = 1.65 \begin {gather*} d \left (- \frac {3 \sqrt {- \frac {1}{a^{5} c}} \log {\left (- a^{3} \sqrt {- \frac {1}{a^{5} c}} + x \right )}}{16} + \frac {3 \sqrt {- \frac {1}{a^{5} c}} \log {\left (a^{3} \sqrt {- \frac {1}{a^{5} c}} + x \right )}}{16}\right ) + \frac {- 2 a^{2} e + 5 a c d x + 3 c^{2} d x^{3}}{8 a^{4} c + 16 a^{3} c^{2} x^{2} + 8 a^{2} c^{3} x^{4}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((e*x+d)/(c*x**2+a)**3,x)

[Out]

d*(-3*sqrt(-1/(a**5*c))*log(-a**3*sqrt(-1/(a**5*c)) + x)/16 + 3*sqrt(-1/(a**5*c))*log(a**3*sqrt(-1/(a**5*c)) +
 x)/16) + (-2*a**2*e + 5*a*c*d*x + 3*c**2*d*x**3)/(8*a**4*c + 16*a**3*c**2*x**2 + 8*a**2*c**3*x**4)

________________________________________________________________________________________